﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlClientList_.ascx.cs" Inherits="Ctl_ctlClientList_" %>
<%@ Register assembly="UIControls" namespace="Grishko.UIControls" tagprefix="cc1" %>
<asp:UpdatePanel ID="updContractInsert"   runat="server">
<ContentTemplate >     
<asp:MultiView ID="mvModeFrame" runat="server" ActiveViewIndex ="1">
<asp:View ID ="vCaptionMode"  runat ="server" >

    <table width="100%" cellpadding ="0" cellspacing ="0">
    <tr>
        
        <td>
            <asp:TextBox ID="txtClientName"  runat="server" CssClass="TextBox" Width="99%"></asp:TextBox>
        </td>
        <td style ="width :25px; text-align :right " >
            <asp:ImageButton ID="ImageButton1" runat="server" 
                ImageUrl="~/images/icon-edit.gif" onclick="ImageButton1_Click" />
        </td>
    </tr>
    </table>
</asp:View>

<asp:View ID ="vListMode" runat ="server"  >
    <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style ="text-align :left ">
                <asp:TextBox ID="txtSearchValue" runat="server" CssClass="TextBox"></asp:TextBox>
            </td>
            <td style="width :25px; text-align :right ">               
                <asp:ImageButton ID="btnSearch" runat="server" 
                    ImageUrl="~/images/search_button.gif" onclick="btnSearch_Click" />
               
                
            </td>
            <td style="width :25px; text-align :right ">
                <asp:ImageButton ID="btnSaveClient" runat="server" 
                    ImageUrl="~/images/icon-save.gif" onclick="btnSaveClient_Click" 
                    Width="16px" />
            </td>
        </tr>
        
    </table>
    <asp:ListBox ID="lstCliectList" runat="server"  CssClass="TextBox" 
                    onselectedindexchanged="lstCliectList_SelectedIndexChanged" Width="99%" DataValueField ="Value" 
                    AutoPostBack="True">                    
                </asp:ListBox>
</asp:View>
</asp:MultiView>
</ContentTemplate> 
</asp:UpdatePanel> 